package com.hyg.module_health.model.datamodel;

import java.util.List;

/**
 * @author: Administrator
 * @date: 2021/4/13
 */
public class BannerData {

    /**
     * code : 200
     * message : 获取banner图列表成功
     * data : [{"id":1,"img":"fgdhgdf","content":"fdagd","title":"gdgf"}]
     */

    public int code;
    public String message;
    public List<DataDTO> data;

    public BannerData() {
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public List<DataDTO> getData() {
        return data;
    }

    public void setData(List<DataDTO> data) {
        this.data = data;
    }

    public static class DataDTO {
        /**
         * id : 1
         * img : fgdhgdf
         * content : fdagd
         * title : gdgf
         */

        public int id;
        public String img;
        public String content;
        public String title;

        public DataDTO() {
        }

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getImg() {
            return img;
        }

        public void setImg(String img) {
            this.img = img;
        }

        public String getContent() {
            return content;
        }

        public void setContent(String content) {
            this.content = content;
        }

        public String getTitle() {
            return title;
        }

        public void setTitle(String title) {
            this.title = title;
        }
    }
}
